package com.sulent.frame.mp.entity;

/**
 * @ClassName BasePage
 * @Description: 基础分页查询对象
 * @Author Submerge.
 * @Since 2023/9/1 11:56
 * @Version 1.0
 */
public class BasePage {

    private Integer page;

    private Integer size;

    public BasePage(){
        this.page = 1;
        this.size = 10;
    }

    public BasePage(Integer page, Integer size) {
        this.page = page;
        this.size = size;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
